package com.yue.jmx.demo1;

/**
 * 功能描述: TODO <br/>
 * 创建时间: 2017/1/3<br/>
 *
 * @author QiuYang
 */
public class Controller implements ControllerMBean {
    private String name;

    @Override
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return this.name;
    }

    @Override
    public String status() {
        return "this is a Controller MBean, name is " + this.name;
    }

    @Override
    public void start() {
        // TODO: 2017/1/3 Auto-generated method stub;
    }

    @Override
    public void stop() {
        // TODO: 2017/1/3  Atuo-generaged method stub;
    }
}
